package com.mathdroid.model.abilities.optimizer;

import java.util.LinkedList;

import com.mathdroid.model.abilities.Ability;

/**
 * An optimizer result consists of the rating and the priority list.
 */
public final class AbilityOptimizerResult {
	
	/**
	 * The rating of the result.
	 */
	private double rating = 0d;
	
	/**
	 * The priority that caused the result.
	 */
	private LinkedList<Ability> prio = null;
	/**
	 * @return the rating
	 */
	public double getRating() {
		return rating;
	}
	/**
	 * @param r the rating to set
	 */
	public void setRating(final double r) {
		this.rating = r;
	}
	/**
	 * @return the prio
	 */
	public LinkedList<Ability> getPrio() {
		return prio;
	}
	/**
	 * @param p the prio to set
	 */
	public void setPrio(final LinkedList<Ability> p) {
		this.prio = p;
	}
	
	
	
}
